<div class="focus">

    <div class="panel">
        <div class="panel-heading panel-style" style="height: 50px">
            <div class="time-search">
                <label class="search-label"></label>
                <div  class="form-inline input-group">
                    <input ims-select-range-time="rangeDate" type="text">
                </div>
            </div>
            <div class="adv-search">
                <label style="float: left;">广告计划:</label>
                <div class="input-group input-group-sm" style="padding-left: 3px;">
                    <select  ng-model="search.campaignId" class="select-style" ng-change="campaignChange(search.campaignId)" >
                        <option value="0">全部</option>
                        <option value="{{adv.id}}" ng-repeat="adv in advCampaigns">{{adv.name}}</option>
                    </select>
                </div>
            </div>
            <div class="adv-search">
                <label style="float: left;">广告形式:</label>
                <div class="input-group input-group-sm" style="padding-left: 3px;">
                    <select  ng-model="search.adStyle" class="select-style" ng-change="typeChange(search.adStyle)">
                        <option value="0">全部形式</option>
                        <option value="84">纯音广告</option>
                        <option value="82">音图广告</option>
                        <option value="83">视频广告</option>
                        <option value="81">图片广告</option>
                    </select>
                </div>

            </div>
            <div class="f-right">
                <a class="btn-sm export_excel" id="download" role="button" ng-click="method1('targetTable')">导出Excel</a>
            </div>
        </div>
    </div>

    <div class="table-responsive">
        <table class="table table-bordered table-hover"  id="targetTable">
            <thead>
            <tr>
                <th>日期</th>
                <th>广告展示(总数:{{countStat.playStart}})</th>
                <th>广告点击(总数:{{countStat.clickNum}})</th>
                <th>广告独立展示(总数:{{countStat.distinctPlayStart}})</th>
                <th>广告独立点击(总数:{{countStat.distinctClickNum}})</th>
                <th>CTR</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="item in lists">
                <td><a >{{item.dayTimeStat}}</a></td>
                <td>{{item.playStart | number}}</td>
                <td>{{item.clickNum | number}}</td>
                <td>{{item.distinctPlayStart | number}}</td>
                <td>{{item.distinctClickNum | number}}</td>
                <td>{{(item.cRate | number:2) + "%" }}</td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
<div class="panel-footer">
    <s-pagination conf="paginationConf"></s-pagination>
</div>


</div>
